package com.example.sugar.service;

import com.example.sugar.bean.TrafficOne;
import com.example.sugar.bean.TrafficTwo;
import com.example.sugar.mapper.ExamStateMapper;
import com.example.sugar.mapper.TrafficStateMapper;
import org.springframework.beans.factory.annotation.Autowired;

public class TrafficStateServiceImpl implements TrafficStateService{
    @Autowired
    TrafficStateMapper trafficStateMapper;
    @Override
    public TrafficOne selectOne(Integer date) {
        return trafficStateMapper.selectOne(date);
    }

    @Override
    public TrafficTwo selectTwo(Integer date) {
        return trafficStateMapper.selectTwo(date);
    }
}
